Skip to main content

Set Up the Google Drive Connector

The Google Drive Connector allows you to ingest personal and shared files from your Google Drive into your project.

Prerequisites

  • A Google account with access to the Google Drive files you wish to ingest.

Setting Up the Connector

  1. Select Google Drive Data Source Navigate to the Data Sources section of your project. Click Add data source and select Google Drive from the available library.
  2. Authenticate Your Google Account Provide your username and password for your Google account to authenticate the connection. This enables the connector to access and sync your data.
  3. Select Files for Ingestion Click Next to open the Google Drive file selector. You have the ability to select the files you want to ingest.
    💡 Note:
    • You can select files only within one folder at a time.
    • If you attempt to select files from multiple folders, only the files from the last folder selected will be synced.
    • To select files from multiple folders for the system to process (even with the limitation above): Select files from folder1 and click Select. Then, open the Google File Picker again and select files from folder2.
    • Once you have made all your selections, click the Done button to create your data source.
  4. Monitor Ingestion Status You can view the current ingestion status by clicking on the data source again. In the detailed list, you will see all ingested files and their status.

Enforce Permissions for Google Drive Data Sources

Airia filters Google Drive query results based on the end-user’s access permissions to the files.

Prerequisites

To enable permission enforcement for your Google Drive data source:
  • Single Sign-On (SSO) must be enabled for your Airia project.
  • Permission check must be enabled when configuring the specific data source (e.g., when setting up the Google Drive data source).
  • For Google Drive, only for users who have edit access to the files will be able to view files or retrieve any content from these files.
  • For more information on how permissions work, see Permissions Enforcement Overview.
⚠️ Warning: For Google Drive, platform users’ UI access to file details depends on their original file permissions:
  • Users with edit access to the original Google Drive files can view the file names and their content (SQL table, chunks, Binder) within the platform UI.
  • Users without edit access to the original Google Drive files will see file names redacted and cannot view file content in the platform UI.
After your data has been successfully ingested, the Google Drive data source is ready to be used with an Agent.